package model;

import java.util.Iterator;
import java.util.List;
import java.util.Set;

import javax.swing.DefaultListModel;

public class WordListModel extends DefaultListModel{

	/**
	 * 
	 */
	private static final long serialVersionUID = 4783085689991821579L;

	public WordListModel(){
		super();
	}
	
	public void addWords(List<String> listWords){

		for(int i=0; i<listWords.size();i++){
			this.addElement(listWords.get(i));
		}
	}
}
